﻿///////////////////////////////////////////////////////////////
// This is generated code. 
//////////////////////////////////////////////////////////////
// Code is generated using LLBLGen Pro version: 4.2
// Code is generated on: 
// Code is generated using templates: SD.TemplateBindings.SharedTemplates
// Templates vendor: Solutions Design.
// Templates version: 
//////////////////////////////////////////////////////////////
using System;
using System.Collections;
using System.Collections.Generic;
using VNet.VisiSuite.Dal;
using VNet.VisiSuite.Dal.FactoryClasses;
using VNet.VisiSuite.Dal.HelperClasses;
using SD.LLBLGen.Pro.ORMSupportClasses;

namespace VNet.VisiSuite.Dal.RelationClasses
{
	/// <summary>Implements the relations factory for the entity: Area. </summary>
	public partial class AreaRelations
	{
		/// <summary>CTor</summary>
		public AreaRelations()
		{
		}

		/// <summary>Gets all relations of the AreaEntity as a list of IEntityRelation objects.</summary>
		/// <returns>a list of IEntityRelation objects</returns>
		public virtual List<IEntityRelation> GetAllRelations()
		{
			List<IEntityRelation> toReturn = new List<IEntityRelation>();
			toReturn.Add(this.AlarmSettingEntityUsingAreaId);
			toReturn.Add(this.AreaShiftEntityUsingAreaId);
			toReturn.Add(this.CellEntityUsingAreaId);
			toReturn.Add(this.DowntimeButtonEntityUsingAreaId);
			toReturn.Add(this.HoseSpecEntityUsingAreaId);
			toReturn.Add(this.LaunchApplicationEntityUsingAreaId);
			toReturn.Add(this.OperatorEntityUsingAreaId);
			toReturn.Add(this.ReasonCodeEntityUsingAreaId);
			toReturn.Add(this.RollupDefinitionEntityUsingAreaId);
			toReturn.Add(this.ScheduleEntityUsingAreaId);
			toReturn.Add(this.PlantEntityUsingPlantId);
			toReturn.Add(this.ReasonCodeEntityUsingCloseWorkOrderReasonCodeId);
			toReturn.Add(this.ReasonCodeEntityUsingGoodReasonCodeId);
			toReturn.Add(this.ReasonCodeEntityUsingNoWorkOrdersReasonCodeId);
			toReturn.Add(this.ReasonCodeEntityUsingReworkReasonCodeId);
			toReturn.Add(this.ReasonCodeEntityUsingScrapReasonCodeId);
			toReturn.Add(this.ReasonCodeEntityUsingShiftStartReasonCodeId);
			toReturn.Add(this.ReasonCodeEntityUsingPlannedReasonCodeId);
			toReturn.Add(this.UserLoginEntityUsingCreatedBy);
			toReturn.Add(this.UserLoginEntityUsingLastUpdatedBy);
			return toReturn;
		}

		#region Class Property Declarations

		/// <summary>Returns a new IEntityRelation object, between AreaEntity and AlarmSettingEntity over the 1:n relation they have, using the relation between the fields:
		/// Area.AreaId - AlarmSetting.AreaId
		/// </summary>
		public virtual IEntityRelation AlarmSettingEntityUsingAreaId
		{
			get
			{
				IEntityRelation relation = new EntityRelation(SD.LLBLGen.Pro.ORMSupportClasses.RelationType.OneToMany, "AlarmSettings" , true);
				relation.AddEntityFieldPair(AreaFields.AreaId, AlarmSettingFields.AreaId);
				relation.InheritanceInfoPkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("AreaEntity", true);
				relation.InheritanceInfoFkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("AlarmSettingEntity", false);
				return relation;
			}
		}

		/// <summary>Returns a new IEntityRelation object, between AreaEntity and AreaShiftEntity over the 1:n relation they have, using the relation between the fields:
		/// Area.AreaId - AreaShift.AreaId
		/// </summary>
		public virtual IEntityRelation AreaShiftEntityUsingAreaId
		{
			get
			{
				IEntityRelation relation = new EntityRelation(SD.LLBLGen.Pro.ORMSupportClasses.RelationType.OneToMany, "AreaShifts" , true);
				relation.AddEntityFieldPair(AreaFields.AreaId, AreaShiftFields.AreaId);
				relation.InheritanceInfoPkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("AreaEntity", true);
				relation.InheritanceInfoFkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("AreaShiftEntity", false);
				return relation;
			}
		}

		/// <summary>Returns a new IEntityRelation object, between AreaEntity and CellEntity over the 1:n relation they have, using the relation between the fields:
		/// Area.AreaId - Cell.AreaId
		/// </summary>
		public virtual IEntityRelation CellEntityUsingAreaId
		{
			get
			{
				IEntityRelation relation = new EntityRelation(SD.LLBLGen.Pro.ORMSupportClasses.RelationType.OneToMany, "Cells" , true);
				relation.AddEntityFieldPair(AreaFields.AreaId, CellFields.AreaId);
				relation.InheritanceInfoPkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("AreaEntity", true);
				relation.InheritanceInfoFkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("CellEntity", false);
				return relation;
			}
		}

		/// <summary>Returns a new IEntityRelation object, between AreaEntity and DowntimeButtonEntity over the 1:n relation they have, using the relation between the fields:
		/// Area.AreaId - DowntimeButton.AreaId
		/// </summary>
		public virtual IEntityRelation DowntimeButtonEntityUsingAreaId
		{
			get
			{
				IEntityRelation relation = new EntityRelation(SD.LLBLGen.Pro.ORMSupportClasses.RelationType.OneToMany, "DowntimeButtons" , true);
				relation.AddEntityFieldPair(AreaFields.AreaId, DowntimeButtonFields.AreaId);
				relation.InheritanceInfoPkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("AreaEntity", true);
				relation.InheritanceInfoFkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("DowntimeButtonEntity", false);
				return relation;
			}
		}

		/// <summary>Returns a new IEntityRelation object, between AreaEntity and HoseSpecEntity over the 1:n relation they have, using the relation between the fields:
		/// Area.AreaId - HoseSpec.AreaId
		/// </summary>
		public virtual IEntityRelation HoseSpecEntityUsingAreaId
		{
			get
			{
				IEntityRelation relation = new EntityRelation(SD.LLBLGen.Pro.ORMSupportClasses.RelationType.OneToMany, "HoseSpecs" , true);
				relation.AddEntityFieldPair(AreaFields.AreaId, HoseSpecFields.AreaId);
				relation.InheritanceInfoPkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("AreaEntity", true);
				relation.InheritanceInfoFkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("HoseSpecEntity", false);
				return relation;
			}
		}

		/// <summary>Returns a new IEntityRelation object, between AreaEntity and LaunchApplicationEntity over the 1:n relation they have, using the relation between the fields:
		/// Area.AreaId - LaunchApplication.AreaId
		/// </summary>
		public virtual IEntityRelation LaunchApplicationEntityUsingAreaId
		{
			get
			{
				IEntityRelation relation = new EntityRelation(SD.LLBLGen.Pro.ORMSupportClasses.RelationType.OneToMany, "LaunchApplications" , true);
				relation.AddEntityFieldPair(AreaFields.AreaId, LaunchApplicationFields.AreaId);
				relation.InheritanceInfoPkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("AreaEntity", true);
				relation.InheritanceInfoFkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("LaunchApplicationEntity", false);
				return relation;
			}
		}

		/// <summary>Returns a new IEntityRelation object, between AreaEntity and OperatorEntity over the 1:n relation they have, using the relation between the fields:
		/// Area.AreaId - Operator.AreaId
		/// </summary>
		public virtual IEntityRelation OperatorEntityUsingAreaId
		{
			get
			{
				IEntityRelation relation = new EntityRelation(SD.LLBLGen.Pro.ORMSupportClasses.RelationType.OneToMany, "Operators" , true);
				relation.AddEntityFieldPair(AreaFields.AreaId, OperatorFields.AreaId);
				relation.InheritanceInfoPkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("AreaEntity", true);
				relation.InheritanceInfoFkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("OperatorEntity", false);
				return relation;
			}
		}

		/// <summary>Returns a new IEntityRelation object, between AreaEntity and ReasonCodeEntity over the 1:n relation they have, using the relation between the fields:
		/// Area.AreaId - ReasonCode.AreaId
		/// </summary>
		public virtual IEntityRelation ReasonCodeEntityUsingAreaId
		{
			get
			{
				IEntityRelation relation = new EntityRelation(SD.LLBLGen.Pro.ORMSupportClasses.RelationType.OneToMany, "ReasonCodes" , true);
				relation.AddEntityFieldPair(AreaFields.AreaId, ReasonCodeFields.AreaId);
				relation.InheritanceInfoPkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("AreaEntity", true);
				relation.InheritanceInfoFkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("ReasonCodeEntity", false);
				return relation;
			}
		}

		/// <summary>Returns a new IEntityRelation object, between AreaEntity and RollupDefinitionEntity over the 1:n relation they have, using the relation between the fields:
		/// Area.AreaId - RollupDefinition.AreaId
		/// </summary>
		public virtual IEntityRelation RollupDefinitionEntityUsingAreaId
		{
			get
			{
				IEntityRelation relation = new EntityRelation(SD.LLBLGen.Pro.ORMSupportClasses.RelationType.OneToMany, "RollupDefinitions" , true);
				relation.AddEntityFieldPair(AreaFields.AreaId, RollupDefinitionFields.AreaId);
				relation.InheritanceInfoPkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("AreaEntity", true);
				relation.InheritanceInfoFkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("RollupDefinitionEntity", false);
				return relation;
			}
		}

		/// <summary>Returns a new IEntityRelation object, between AreaEntity and ScheduleEntity over the 1:n relation they have, using the relation between the fields:
		/// Area.AreaId - Schedule.AreaId
		/// </summary>
		public virtual IEntityRelation ScheduleEntityUsingAreaId
		{
			get
			{
				IEntityRelation relation = new EntityRelation(SD.LLBLGen.Pro.ORMSupportClasses.RelationType.OneToMany, "Schedules" , true);
				relation.AddEntityFieldPair(AreaFields.AreaId, ScheduleFields.AreaId);
				relation.InheritanceInfoPkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("AreaEntity", true);
				relation.InheritanceInfoFkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("ScheduleEntity", false);
				return relation;
			}
		}


		/// <summary>Returns a new IEntityRelation object, between AreaEntity and PlantEntity over the m:1 relation they have, using the relation between the fields:
		/// Area.PlantId - Plant.PlantId
		/// </summary>
		public virtual IEntityRelation PlantEntityUsingPlantId
		{
			get
			{
				IEntityRelation relation = new EntityRelation(SD.LLBLGen.Pro.ORMSupportClasses.RelationType.ManyToOne, "Plant", false);
				relation.AddEntityFieldPair(PlantFields.PlantId, AreaFields.PlantId);
				relation.InheritanceInfoPkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("PlantEntity", false);
				relation.InheritanceInfoFkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("AreaEntity", true);
				return relation;
			}
		}
		/// <summary>Returns a new IEntityRelation object, between AreaEntity and ReasonCodeEntity over the m:1 relation they have, using the relation between the fields:
		/// Area.CloseWorkOrderReasonCodeId - ReasonCode.ReasonCodeId
		/// </summary>
		public virtual IEntityRelation ReasonCodeEntityUsingCloseWorkOrderReasonCodeId
		{
			get
			{
				IEntityRelation relation = new EntityRelation(SD.LLBLGen.Pro.ORMSupportClasses.RelationType.ManyToOne, "ReasonCode", false);
				relation.AddEntityFieldPair(ReasonCodeFields.ReasonCodeId, AreaFields.CloseWorkOrderReasonCodeId);
				relation.InheritanceInfoPkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("ReasonCodeEntity", false);
				relation.InheritanceInfoFkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("AreaEntity", true);
				return relation;
			}
		}
		/// <summary>Returns a new IEntityRelation object, between AreaEntity and ReasonCodeEntity over the m:1 relation they have, using the relation between the fields:
		/// Area.GoodReasonCodeId - ReasonCode.ReasonCodeId
		/// </summary>
		public virtual IEntityRelation ReasonCodeEntityUsingGoodReasonCodeId
		{
			get
			{
				IEntityRelation relation = new EntityRelation(SD.LLBLGen.Pro.ORMSupportClasses.RelationType.ManyToOne, "ReasonCode1", false);
				relation.AddEntityFieldPair(ReasonCodeFields.ReasonCodeId, AreaFields.GoodReasonCodeId);
				relation.InheritanceInfoPkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("ReasonCodeEntity", false);
				relation.InheritanceInfoFkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("AreaEntity", true);
				return relation;
			}
		}
		/// <summary>Returns a new IEntityRelation object, between AreaEntity and ReasonCodeEntity over the m:1 relation they have, using the relation between the fields:
		/// Area.NoWorkOrdersReasonCodeId - ReasonCode.ReasonCodeId
		/// </summary>
		public virtual IEntityRelation ReasonCodeEntityUsingNoWorkOrdersReasonCodeId
		{
			get
			{
				IEntityRelation relation = new EntityRelation(SD.LLBLGen.Pro.ORMSupportClasses.RelationType.ManyToOne, "ReasonCode2", false);
				relation.AddEntityFieldPair(ReasonCodeFields.ReasonCodeId, AreaFields.NoWorkOrdersReasonCodeId);
				relation.InheritanceInfoPkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("ReasonCodeEntity", false);
				relation.InheritanceInfoFkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("AreaEntity", true);
				return relation;
			}
		}
		/// <summary>Returns a new IEntityRelation object, between AreaEntity and ReasonCodeEntity over the m:1 relation they have, using the relation between the fields:
		/// Area.ReworkReasonCodeId - ReasonCode.ReasonCodeId
		/// </summary>
		public virtual IEntityRelation ReasonCodeEntityUsingReworkReasonCodeId
		{
			get
			{
				IEntityRelation relation = new EntityRelation(SD.LLBLGen.Pro.ORMSupportClasses.RelationType.ManyToOne, "ReasonCode3", false);
				relation.AddEntityFieldPair(ReasonCodeFields.ReasonCodeId, AreaFields.ReworkReasonCodeId);
				relation.InheritanceInfoPkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("ReasonCodeEntity", false);
				relation.InheritanceInfoFkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("AreaEntity", true);
				return relation;
			}
		}
		/// <summary>Returns a new IEntityRelation object, between AreaEntity and ReasonCodeEntity over the m:1 relation they have, using the relation between the fields:
		/// Area.ScrapReasonCodeId - ReasonCode.ReasonCodeId
		/// </summary>
		public virtual IEntityRelation ReasonCodeEntityUsingScrapReasonCodeId
		{
			get
			{
				IEntityRelation relation = new EntityRelation(SD.LLBLGen.Pro.ORMSupportClasses.RelationType.ManyToOne, "ReasonCode4", false);
				relation.AddEntityFieldPair(ReasonCodeFields.ReasonCodeId, AreaFields.ScrapReasonCodeId);
				relation.InheritanceInfoPkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("ReasonCodeEntity", false);
				relation.InheritanceInfoFkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("AreaEntity", true);
				return relation;
			}
		}
		/// <summary>Returns a new IEntityRelation object, between AreaEntity and ReasonCodeEntity over the m:1 relation they have, using the relation between the fields:
		/// Area.ShiftStartReasonCodeId - ReasonCode.ReasonCodeId
		/// </summary>
		public virtual IEntityRelation ReasonCodeEntityUsingShiftStartReasonCodeId
		{
			get
			{
				IEntityRelation relation = new EntityRelation(SD.LLBLGen.Pro.ORMSupportClasses.RelationType.ManyToOne, "ReasonCode5", false);
				relation.AddEntityFieldPair(ReasonCodeFields.ReasonCodeId, AreaFields.ShiftStartReasonCodeId);
				relation.InheritanceInfoPkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("ReasonCodeEntity", false);
				relation.InheritanceInfoFkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("AreaEntity", true);
				return relation;
			}
		}
		/// <summary>Returns a new IEntityRelation object, between AreaEntity and ReasonCodeEntity over the m:1 relation they have, using the relation between the fields:
		/// Area.PlannedReasonCodeId - ReasonCode.ReasonCodeId
		/// </summary>
		public virtual IEntityRelation ReasonCodeEntityUsingPlannedReasonCodeId
		{
			get
			{
				IEntityRelation relation = new EntityRelation(SD.LLBLGen.Pro.ORMSupportClasses.RelationType.ManyToOne, "ReasonCode6", false);
				relation.AddEntityFieldPair(ReasonCodeFields.ReasonCodeId, AreaFields.PlannedReasonCodeId);
				relation.InheritanceInfoPkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("ReasonCodeEntity", false);
				relation.InheritanceInfoFkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("AreaEntity", true);
				return relation;
			}
		}
		/// <summary>Returns a new IEntityRelation object, between AreaEntity and UserLoginEntity over the m:1 relation they have, using the relation between the fields:
		/// Area.CreatedBy - UserLogin.UserLoginId
		/// </summary>
		public virtual IEntityRelation UserLoginEntityUsingCreatedBy
		{
			get
			{
				IEntityRelation relation = new EntityRelation(SD.LLBLGen.Pro.ORMSupportClasses.RelationType.ManyToOne, "UserLogin", false);
				relation.AddEntityFieldPair(UserLoginFields.UserLoginId, AreaFields.CreatedBy);
				relation.InheritanceInfoPkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("UserLoginEntity", false);
				relation.InheritanceInfoFkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("AreaEntity", true);
				return relation;
			}
		}
		/// <summary>Returns a new IEntityRelation object, between AreaEntity and UserLoginEntity over the m:1 relation they have, using the relation between the fields:
		/// Area.LastUpdatedBy - UserLogin.UserLoginId
		/// </summary>
		public virtual IEntityRelation UserLoginEntityUsingLastUpdatedBy
		{
			get
			{
				IEntityRelation relation = new EntityRelation(SD.LLBLGen.Pro.ORMSupportClasses.RelationType.ManyToOne, "UserLogin1", false);
				relation.AddEntityFieldPair(UserLoginFields.UserLoginId, AreaFields.LastUpdatedBy);
				relation.InheritanceInfoPkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("UserLoginEntity", false);
				relation.InheritanceInfoFkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("AreaEntity", true);
				return relation;
			}
		}
		/// <summary>stub, not used in this entity, only for TargetPerEntity entities.</summary>
		public virtual IEntityRelation GetSubTypeRelation(string subTypeEntityName) { return null; }
		/// <summary>stub, not used in this entity, only for TargetPerEntity entities.</summary>
		public virtual IEntityRelation GetSuperTypeRelation() { return null;}
		#endregion

		#region Included Code

		#endregion
	}
	
	/// <summary>Static class which is used for providing relationship instances which are re-used internally for syncing</summary>
	internal static class StaticAreaRelations
	{
		internal static readonly IEntityRelation AlarmSettingEntityUsingAreaIdStatic = new AreaRelations().AlarmSettingEntityUsingAreaId;
		internal static readonly IEntityRelation AreaShiftEntityUsingAreaIdStatic = new AreaRelations().AreaShiftEntityUsingAreaId;
		internal static readonly IEntityRelation CellEntityUsingAreaIdStatic = new AreaRelations().CellEntityUsingAreaId;
		internal static readonly IEntityRelation DowntimeButtonEntityUsingAreaIdStatic = new AreaRelations().DowntimeButtonEntityUsingAreaId;
		internal static readonly IEntityRelation HoseSpecEntityUsingAreaIdStatic = new AreaRelations().HoseSpecEntityUsingAreaId;
		internal static readonly IEntityRelation LaunchApplicationEntityUsingAreaIdStatic = new AreaRelations().LaunchApplicationEntityUsingAreaId;
		internal static readonly IEntityRelation OperatorEntityUsingAreaIdStatic = new AreaRelations().OperatorEntityUsingAreaId;
		internal static readonly IEntityRelation ReasonCodeEntityUsingAreaIdStatic = new AreaRelations().ReasonCodeEntityUsingAreaId;
		internal static readonly IEntityRelation RollupDefinitionEntityUsingAreaIdStatic = new AreaRelations().RollupDefinitionEntityUsingAreaId;
		internal static readonly IEntityRelation ScheduleEntityUsingAreaIdStatic = new AreaRelations().ScheduleEntityUsingAreaId;
		internal static readonly IEntityRelation PlantEntityUsingPlantIdStatic = new AreaRelations().PlantEntityUsingPlantId;
		internal static readonly IEntityRelation ReasonCodeEntityUsingCloseWorkOrderReasonCodeIdStatic = new AreaRelations().ReasonCodeEntityUsingCloseWorkOrderReasonCodeId;
		internal static readonly IEntityRelation ReasonCodeEntityUsingGoodReasonCodeIdStatic = new AreaRelations().ReasonCodeEntityUsingGoodReasonCodeId;
		internal static readonly IEntityRelation ReasonCodeEntityUsingNoWorkOrdersReasonCodeIdStatic = new AreaRelations().ReasonCodeEntityUsingNoWorkOrdersReasonCodeId;
		internal static readonly IEntityRelation ReasonCodeEntityUsingReworkReasonCodeIdStatic = new AreaRelations().ReasonCodeEntityUsingReworkReasonCodeId;
		internal static readonly IEntityRelation ReasonCodeEntityUsingScrapReasonCodeIdStatic = new AreaRelations().ReasonCodeEntityUsingScrapReasonCodeId;
		internal static readonly IEntityRelation ReasonCodeEntityUsingShiftStartReasonCodeIdStatic = new AreaRelations().ReasonCodeEntityUsingShiftStartReasonCodeId;
		internal static readonly IEntityRelation ReasonCodeEntityUsingPlannedReasonCodeIdStatic = new AreaRelations().ReasonCodeEntityUsingPlannedReasonCodeId;
		internal static readonly IEntityRelation UserLoginEntityUsingCreatedByStatic = new AreaRelations().UserLoginEntityUsingCreatedBy;
		internal static readonly IEntityRelation UserLoginEntityUsingLastUpdatedByStatic = new AreaRelations().UserLoginEntityUsingLastUpdatedBy;

		/// <summary>CTor</summary>
		static StaticAreaRelations()
		{
		}
	}
}
